﻿using System;
using System.Web.UI;

namespace Eneta.Portal.Profiles
{
    public class EnetaAddBlogPage : Page
    {
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            var url = "/Lehed/addblog.aspx";
            if(!string.IsNullOrEmpty(Request["ID"]))
                url += "?blogID=" + Request["ID"];

            Response.Redirect(url);
            Response.End();
        }
    }
}
